{#login/templates/login/login.html#}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<div style="margin: 15% 40%;">
    <h1>欢迎登录！</h1>
    <form method="post">
        {% csrf_token %}
        <p>
            {{ l_form.username.label }}: {{ l_form.username }}
        </p>
        <p>
            {{ l_form.password.label }}: {{ l_form.password }}
        </p>
        <input type="submit" value="确定">
    </form>
    <form action="/user/register/" method="get">
        <input type="submit" value="没有账号？去注册">
    </form>
    <p>{{ result }}</p>
</div>
</body>
</html>